using ZeroBlog.Application.Commons.Dtos.In;
using ZeroBlog.Application.Commons.Dtos.Out;
using ZeroBlog.Application.Commons.Dtos.Query;
using ZeroSum.Models;

namespace ZeroBlog.Application.Commons;

public interface ICommonApplicationService
{
    Task AddAsync(AddCommonDto dto);
    Task DeleteAsync(DeleteCommonDto dto);
    Task UpdateAsync(UpdateCommonDto dto);
    Task<DetailCommonDto> Detail(DetailCommonQuery query);
    Task<PagedResponseModel<PageCommonDto>> Page(PageCommonQuery query);
}